sqlite3: require matching lib version in shell
authorGeorge Sapkin <[email protected]>
Sat, 10 May 2025 19:23:39 +0000 (22:23 +0300)
committerTianling Shen <[email protected]>
Tue, 5 Aug 2025 08:24:14 +0000 (16:24 +0800)
Shell expects a matching library version to be installed. Specify a
matching version using EXTRA_DEPENDS.

Signed-off-by: George Sapkin <[email protected]>
libs/sqlite3/Makefile

index f41bd3a5cc7180cfeee8b3db7213d193f282046d..510489a590e0c2eb799a8765e1d29ee57f3e5c89 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=sqlite
 PKG_VERSION:=3.49.1
 PKG_SRC_VERSION:=3490100
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-autoconf-$(PKG_SRC_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.sqlite.org/2025/
@@ -75,10 +75,11 @@ define Package/sqlite3-cli
   SECTION:=utils
   CATEGORY:=Utilities
   DEPENDS := \
-         +libsqlite3 \
-         +SQLITE3_LIBEDIT:libedit \
-         +SQLITE3_READLINE:libreadline \
-         +SQLITE3_READLINE:libncursesw
+    +libsqlite3 \
+    +SQLITE3_LIBEDIT:libedit \
+    +SQLITE3_READLINE:libreadline \
+    +SQLITE3_READLINE:libncursesw
+  EXTRA_DEPENDS:=libsqlite3 (=$(PKG_VERSION)-r$(PKG_RELEASE))
   TITLE+= (cli)
 endef